package com.jingdianjichi.subject.domin.convert;

import com.jingdianjichi.subject.domin.entity.SubjectAnswerBO;
import com.jingdianjichi.subject.domin.entity.SubjectCategoryBO;
import com.jingdianjichi.subject.infra.basic.entity.SubjectCategory;
import com.jingdianjichi.subject.infra.basic.entity.SubjectRadio;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;


/**
 * @author 86156
 * @version 1.0
 * @date 2024-10-02 11:08
 */
@Mapper
public interface SubjectRadioConverter {

    SubjectRadioConverter instance = Mappers.getMapper(SubjectRadioConverter.class);

    SubjectRadio convertBoToEntity(SubjectAnswerBO subjectAnswerBO);

    List<SubjectAnswerBO> convertRadioToAnswerList(List<SubjectRadio> subjectRadioList);

}

